import { SetMetadata } from "@nestjs/common";

export const RequireLogin = () => SetMetadata('require-login', true);

export const RequirePermission = (permission: string) => SetMetadata('require-permission', permission);
